﻿import { axios } from '@/utils/request'

/**
 * 查询任务步骤
 *
 * @author mike
 */
export function PolicyStepPage (parameter) {
  return axios({
    url: '/PolicyStep/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 任务步骤列表
 *
 * @author mike
 */
export function PolicyStepList (parameter) {
  return axios({
    url: '/PolicyStep/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加任务步骤
 *
 * @author mike
 */
export function PolicyStepAdd (parameter) {
  return axios({
    url: '/PolicyStep/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑任务步骤
 *
 * @author mike
 */
export function PolicyStepEdit (parameter) {
  return axios({
    url: '/PolicyStep/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除任务步骤
 *
 * @author mike
 */
export function PolicyStepDelete (parameter) {
  return axios({
    url: '/PolicyStep/delete',
    method: 'post',
    data: parameter
  })
}
